package edu.neu.cs6515.xml.w12;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import edu.neu.cs6515.xml.Placement;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@XmlRootElement(name="result")
@NoArgsConstructor
@AllArgsConstructor
public class TurnResult {

    @Setter
    private String name;
    
    @XmlAttribute
    public String getName() {
        return name;
    }
     
    @Getter @Setter
    private List<Placement> placement;
}
